export const pageModalConfig = {
  pageName: 'goods',
  labelWidth: '100px',
  title: '编辑',
  formItems: [
    {
      fileId: 'name',
      type: 'input',
      label: '商品名称',
      placeholder: '请输入商品名称'
    },
    {
      fileId: 'desc',
      type: 'input',
      label: '商品描述',
      placeholder: '请输入商品描述'
    },
    {
      fileId: 'inventoryCount',
      type: 'input',
      label: '库存',
      placeholder: '请输入库存'
    },
    {
      fileId: 'oldPrice',
      type: 'input',
      label: '原价',
      placeholder: '请输入原价'
    },
    {
      fileId: 'newPrice',
      type: 'input',
      label: '现价',
      placeholder: '请输入现价'
    },
    {
      fileId: 'imgUrl',
      type: 'slot',
      label: '图片',
      slotName: 'uploadImg'
    }
  ],
  colLayout: { span: 24 }
}
